package com.wnxy.admin.service;

import com.wnxy.admin.dto.AuthorizationDto;
import com.wnxy.admin.dto.StaffRoleDto;
import com.wnxy.admin.entity.StaffRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.admin.vo.StaffRoleVo;

import java.util.List;

/**
 * <p>
 * 员工角色中间表 服务类
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
public interface IStaffRoleService extends IService<StaffRole> {
    List<StaffRoleVo> getAll(Integer id);

    void authorizationStaff(StaffRoleDto staffRoleDto);
}
